package com.haixee.parkdemo.auth.service;

import com.haixee.parkdemo.auth.entity.dto.GroupOrgDTO;
import com.haixee.parkdemo.auth.model.Group;

import java.util.List;
import java.util.Set;

public interface GroupService {

    void addGroup(String name, Integer parentId, List<Integer> roleIdList);

    void addUser(Integer jobId, Integer uid);

    List<Group> getAll();

    void add(Integer group, Integer organizeId);

    List<GroupOrgDTO> getAllGroupOrganize();

    Set<Integer> getUnderTree(List<Integer> jobIdList);

    Set<Integer> getUnderTreeByUid(Integer uid);
}
